import http from '@/utils/http'
//
/**
 * @params request 请求地址
 * @param '/testIp' 代表vue-cli中config, index.js中配置代理
 */
let request = ''

// post请求
export function insertMenu(params){
  return http.post(`${request}/yyymobile/sys/api/v1/menu/insertMenu`, params)
}



export function selectMenus(params){
  return http.get(`${request}/yyymobile/sys/api/v1/menu/selectMenus`, params)
}



export function updateMenu(params){
  return http.put(`${request}/yyymobile/sys/api/v1/menu/updateMenu`, params)
}


export function deleteMenu(params){
  return http.delete(`${request}/yyymobile/sys/api/v1/menu/deleteMenu`, params)
}
